package com.dodock.banglapapers.server.generator;

import com.google.gson.JsonObject;

public class DDNGetConfigGenerator {

	public static String Generate(){
		try{
			
			JsonObject config = new JsonObject();
			
			config.addProperty("helptext", getHelpText());
			config.addProperty("abouttext", getAboutText());
			config.addProperty("sendtofriendtext", getSendToFriendText());
			
			return config.toString();
		}
		catch (Exception e) {
		}
		return "{}";
	}
	
	
	public static String getHelpText(){
		return 	"‎1. Headline: You can check the Headlines of the newspapers here.\n" +
				"2. Favourites: Check your favourite categories here. You will view these news first. Don't want to keep in Favourite list? Simply uncheck them.\n" + 
				"3. Read Later/Save News: Check the news you want to read later. You can read this news while in offline also.\n";
	}

	public static String getAboutText(){
		return "\'Banglapapers\' is a news hub that combines multiple leading newspapers feeds under one great application. Now you can access your favorite Bangla newspaper at the palm of your hand and on the go. More newspapers will be added in the upcoming versions.";
	}
	
	public static String getSendToFriendText(){
		return "Hi, I am using \'BanglaPapers\' application for news updates from Bangladesh. I would like to recommend you to try out this app";
	}
}
